#ifndef OBJECT_H
#define OBJECT_H

#include <boost/serialization/string.hpp>
#include <boost/serialization/version.hpp>
#include <boost/serialization/split_member.hpp>


#include <iostream>
#include <string>
#include <map>



using namespace std;

class object {


    public:

        object();
        virtual ~object();


        // functions
        bool inDistanceTo(int target);
        void setDistanceTo(int target, bool inDistance);


        // system vars
        int account_id;
        int character_id;

        // public vars
        string name;
        long x, y;
        long id;
        int type;
        int status;

        int controlledBy;

        // true false to all the other targets
        map <int, bool> targetInRange;


    private:

        //



};

#endif // OBJECT_H

